package cn.whitecao.contentcenter.controller;

import cn.whitecao.contentcenter.domain.dto.content.ShareAuditDTO;
import cn.whitecao.contentcenter.entity.Share;
import cn.whitecao.contentcenter.service.ShareService;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author ：腼腆的老黄.
 * @date ：Created in 2019-10-09 18:55
 */
@RestController
@RequestMapping("/admin/shares")
@RequiredArgsConstructor
public class ShareAdminController {
    final ShareService shareService;

    @GetMapping("/audit/{id}")
    public Share auditById(Integer id , ShareAuditDTO auditDTO){
        shareService.auditById();
        return null;
    }


}
